# Uncomment this if you reference any of your controllers in activate
# require_dependency 'application'

class RailsSupportExampleExtension < Radiant::Extension
  version "1.0"
  description "Describe your extension here"
  url "http://yourwebsite.com/rails_support_example"
  
  define_routes do |map|
     map.connect 'example/:action/:id', :controller => 'example'
  end
  
  def activate
    # admin.tabs.add "Rails Support Example", "/admin/rails_support_example", :after => "Layouts", :visibility => [:all]
  end
  
  def deactivate
    # admin.tabs.remove "Rails Support Example"
  end
  
end